package com.model;
/**
 * 单场比赛结果
 * @author Administer
 *
 */
public class MatchResult {
	private int id;	//单场比赛结果编号
	private int matchId;	//比赛编号
	private int teamId;	//球队编号
	private int goalDifference;	//净胜球
	private int goal;	//得分
	private int yellowCard;	//黄牌数
	private int redCard;	//红牌数
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getMatchId() {
		return matchId;
	}
	public void setMatchId(int matchId) {
		this.matchId = matchId;
	}
	public int getTeamId() {
		return teamId;
	}
	public void setTeamId(int teamId) {
		this.teamId = teamId;
	}
	public int getGoalDifference() {
		return goalDifference;
	}
	public void setGoalDifference(int goalDifference) {
		this.goalDifference = goalDifference;
	}
	public int getGoal() {
		return goal;
	}
	public void setGoal(int goal) {
		this.goal = goal;
	}
	public int getYellowCard() {
		return yellowCard;
	}
	public void setYellowCard(int yellowCard) {
		this.yellowCard = yellowCard;
	}
	public int getRedCard() {
		return redCard;
	}
	public void setRedCard(int redCard) {
		this.redCard = redCard;
	}
	@Override
	public String toString() {
		return "MatchResult [id=" + id + ", matchId=" + matchId + ", teamId=" + teamId + ", goalDifference="
				+ goalDifference + ", goal=" + goal + ", yellowCard=" + yellowCard + ", redCard=" + redCard + "]";
	}
	
}
